package com.allwees.bs.module.oms.service.impl;

import com.allwees.bs.module.base.service.impl.BoServiceImpl;
import com.allwees.bs.module.oms.dao.AccountTransitDao;
import com.allwees.bs.module.oms.entity.AccountTransit;
import com.allwees.bs.module.oms.service.AccountTransitService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;


@Slf4j
@Service
public class AccountTransitServiceImpl   extends BoServiceImpl<AccountTransitDao, AccountTransit> implements AccountTransitService {

    @Autowired
    protected  AccountTransitDao accountTransitDao;

    @Override
    public boolean setIsDoById(Integer id, Date date){
       return accountTransitDao.setIsDoById(date,id);
    }
}
